Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add quotes to multiple postcodes. #75

Conversation

sergiogomez
Copy link
Contributor

A string of digits separated by comma without quotes can be evaluated as integer by some YAML parsing libraries (eg: psych for ruby):

YAML.load("postcode: 63739,63741,63743")
 => {"postcode"=>637396374163743}
YAML.load("postcode: '63739,63741,63743'")
 => {"postcode"=>"63739,63741,63743"}

@freyfogle freyfogle merged commit c379c9f into OpenCageData:master Jun 14, 2021
@freyfogle
Copy link
Member

thanks, nice catch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants